//
//  LoginViewController.m
//  NewChat
//
//  Created by songKX on 16/2/29.
//  Copyright © 2016年 蓝鸥. All rights reserved.
//

#import "LoginViewController.h"

#import "PicsRoundView.h"

#import "UIView+SDAutoLayout.h"

@interface LoginViewController ()


@property (weak, nonatomic) IBOutlet UIButton *loginBtn;

@end

@implementation LoginViewController

-(void)viewWillAppear:(BOOL)animated{
    
    [self.navigationController setNavigationBarHidden:YES animated:NO];
    
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self.navigationController setNavigationBarHidden:YES animated:NO];
    
    self.navigationItem.title = @"";
    
    PicsRoundView *picsView = [[PicsRoundView alloc] initWithFrame:CGRectMake(0, 0, 0, 0)];
    
    picsView.backgroundColor = [UIColor redColor];
    
    [self.view addSubview:picsView];
    
    picsView.sd_layout
    .topSpaceToView(self.view,0)
    .leftSpaceToView(self.view,0)
    .bottomSpaceToView(self.loginBtn,40)
    .rightSpaceToView(self.view,0);
    
    
    // Do any additional setup after loading the view.
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

//QQ登录
- (IBAction)QQLogin:(UIButton *)sender {
}

//微博登录
- (IBAction)TwitterLogin:(UIButton *)sender {
}

//微信登录

- (IBAction)WeChatLogin:(UIButton *)sender {
}




#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    
    
    
    NSLog(@"wwwwww");
    
    [self.navigationController setNavigationBarHidden:NO animated:NO];
    
}


@end
